home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / slasd9.z / slasd9
Encoding:
Text File  |  2002-10-03  |  5.5 KB  |  199 lines

  1.  
  2.  
  3.  
  4. SSSSLLLLAAAASSSSDDDD9999((((3333SSSS))))                                                          SSSSLLLLAAAASSSSDDDD9999((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      SLASD9 - find the square roots of the roots of the secular equation,
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      SUBROUTINE SLASD9( ICOMPQ, LDU, K, D, Z, VF, VL, DIFL, DIFR, DSIGMA,
  13.                         WORK, INFO )
  14.  
  15.          INTEGER        ICOMPQ, INFO, K, LDU
  16.  
  17.          REAL           D( * ), DIFL( * ), DIFR( LDU, * ), DSIGMA( * ), VF( *
  18.                         ), VL( * ), WORK( * ), Z( * )
  19.  
  20. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  21.      These routines are part of the SCSL Scientific Library and can be loaded
  22.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  23.      directs the linker to use the multi-processor version of the library.
  24.  
  25.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  26.      4 bytes (32 bits). Another version of SCSL is available in which integers
  27.      are 8 bytes (64 bits).  This version allows the user access to larger
  28.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  29.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  30.      only one of the two versions; 4-byte integer and 8-byte integer library
  31.      calls cannot be mixed.
  32.  
  33. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  34.      SLASD9 finds the square roots of the roots of the secular equation, as
  35.      defined by the values in DSIGMA and Z.  It makes the
  36.      appropriate calls to SLASD4, and stores, for each  element in D, the
  37.      distance to its two nearest poles (elements in DSIGMA). It also updates
  38.      the arrays VF and VL, the first and last components of all the right
  39.      singular vectors of the original bidiagonal matrix.
  40.  
  41.      SLASD9 is called from SLASD7.
  42.  
  43.  
  44. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  45.      ICOMPQ  (input) INTEGER
  46.              Specifies whether singular vectors are to be computed in factored
  47.              form in the calling routine:
  48.  
  49.              ICOMPQ = 0             Compute singular values only.
  50.  
  51.              ICOMPQ = 1             Compute singular vector matrices in
  52.              factored form also.
  53.  
  54.      K       (input) INTEGER
  55.              The number of terms in the rational function to be solved by
  56.              SLASD4.  K >= 1.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSLLLLAAAASSSSDDDD9999((((3333SSSS))))                                                          SSSSLLLLAAAASSSSDDDD9999((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      D       (output) REAL array, dimension(K)
  75.              D(I) contains the updated singular values.
  76.  
  77.      DSIGMA  (input) REAL array, dimension(K)
  78.              The first K elements of this array contain the old roots of the
  79.              deflated updating problem.  These are the poles of the secular
  80.              equation.
  81.  
  82.      Z       (input) REAL array, dimension (K)
  83.              The first K elements of this array contain the components of the
  84.              deflation-adjusted updating row vector.
  85.  
  86.      VF      (input/output) REAL array, dimension(K)
  87.              On entry, VF contains  information passed through SBEDE8.f On
  88.              exit, VF contains the first K components of the first components
  89.              of all right singular vectors of the bidiagonal matrix.
  90.  
  91.      VL      (input/output) REAL array, dimension(K)
  92.              On entry, VL contains  information passed through SBEDE8.f On
  93.              exit, VL contains the first K components of the last components
  94.              of all right singular vectors of the bidiagonal matrix.
  95.  
  96.      DIFL    (output) REAL array, dimension (K).
  97.              On exit, DIFL(I) = D(I) - DSIGMA(I).
  98.  
  99.      DIFR    (output) REAL array,
  100.              dimension (LDU, 2) if ICOMPQ =1 and dimension (K) if ICOMPQ = 0.
  101.              On exit, DIFR(I, 1) = D(I) - DSIGMA(I+1), DIFR(K, 1) is not
  102.              defined and will not be referenced.
  103.  
  104.              If ICOMPQ = 1, DIFR(1:K, 2) is an array containing the
  105.              normalizing factors for the right singular vector matrix.
  106.  
  107.      LDU     (input) INTEGER
  108.              The leading dimension of DIFR if ICOMPQ = 1.  LDU >= 1.
  109.  
  110.      WORK    (workspace) REAL array,
  111.              dimension at least (3 * K) Workspace.
  112.  
  113.      INFO    (output) INTEGER
  114.              = 0:  successful exit.
  115.              < 0:  if INFO = -i, the i-th argument had an illegal value.
  116.              > 0:  if INFO = 1, an singular value did not converge
  117.  
  118. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  119.      Based on contributions by
  120.         Ming Gu and Huan Ren, Computer Science Division, University of
  121.         California at Berkeley, USA
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. SSSSLLLLAAAASSSSDDDD9999((((3333SSSS))))                                                          SSSSLLLLAAAASSSSDDDD9999((((3333SSSS))))
  137.  
  138.  
  139.  
  140. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  141.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  142.  
  143.      This man page is available only online.
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.